C. Mwei
D. Gwei
Q57: Which of the following statements are true regarding ABI?
A. ABI is a JSON file
B. ABI has many different elements as functions, inputs, outputs,
constructors etc.
C. ABI is formed only after the successful deployment of the
contract
D. Both A and B
Q58: What is the benefit of using enum instead of a simple variable?
A. Enums restrict a variable to have one of only a few predefined
values
B. Enum can have a default choice, so that even if no value is
allocated, the default value is already prepopulated
C. In case of any value outside the listed ones in enum, there
would be a runtime exception
D. All of the above
Q59: How can we optimize the code?
A. By minimizing the use of the state variables
B. By using better algorithms to minimize the code complexity
C. By saving more variables in the storage location
D. Both A and B
Q60: What would you do if you find a warning in the code?
A. Ignore it. The code can run even with many warnings.
B. Configure the REMIX browser to hide the warning and fasten
the development
C. All warnings must be handled before moving for testing, there
might be another issue buried beneath it
D. Warnings lead to faster consumption of gas, hence must be
handled carefully